Skip to content

Filter task separated in its own task dptdpt-filter#265

Merged
jgrosseo merged 2 commits into
AliceO2Group:masterfrom
victor-gonzalez:splitting
Nov 15, 2021
Merged

Filter task separated in its own task dptdpt-filter#265
jgrosseo merged 2 commits into
AliceO2Group:masterfrom
victor-gonzalez:splitting

Conversation

@victor-gonzalez

Copy link
Copy Markdown
Collaborator

It feeds

  • match-reco-gen independent separated from the filter-qa task
  • dptdptcorrelations independent
  • dptdpt-filter-qa independent separated from the match-reco-gen task

It feeds
- match-reco-gen independent separated from the filter-qa task
- dptdptcorrelations independent
- dptdpt-filter-qa independent separated from the match-reco-gen task
@victor-gonzalez

victor-gonzalez commented Nov 10, 2021

Copy link
Copy Markdown
Collaborator Author

The filter task produce a filtered table for use of dptdpt correlations, the matching reco-gen and the filter-qa.
It is not a skimming task. The idea is that the filter task will filter the skimmed data for the above tasks as well

By the way, up to eight different process functions for the same functionality and almost no code replicated!!

Comment thread PWGCF/DataModel/DptDptFiltered.h Outdated

@jgrosseo jgrosseo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See some comments inline

} // namespace dptdptfilter
DECLARE_SOA_TABLE(AcceptedEvents, "AOD", "ACCEPTEDEVENTS", //! Accepted reconstructed collisions/events filtered table
o2::soa::Index<>,
collision::BCId,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you keep the BCid?
Do you need the timestamp to later retrieve the magnetic field (or directly the magnetic field)?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really. I introduced it when we were tracking the reco-gen issues
I will keep it for a while and probably remove it at the end unless I find a way to remove close pairs the way you do without affecting the correlators (which is not the case today). But perhaps in that case directly the magnetic field will be better

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, another way to remove close pairs is better...

Comment thread PWGCF/DataModel/DptDptFiltered.h Outdated
Comment thread PWGCF/DataModel/DptDptFiltered.h Outdated
collision::BCId,
collision::PosZ,
dptdptfilter::EventAccepted,
dptdptfilter::EventCentMult);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you miss an index to acceptedTrueEvent here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far, once filtered, the detector level and the generator level are completely independent and no need to link them

Comment thread PWGCF/TableProducer/dptdptfilter.cxx
Comment thread PWGCF/TableProducer/dptdptfilter.cxx Outdated
Also
- getting rid of long qualifiers for int
- using float pi constants
@victor-gonzalez

Copy link
Copy Markdown
Collaborator Author

Strange. In both build/O2Physics/o2 and build/O2Physics/o2/macOS there are only warnings, no errors
Has the warnings as errors been activated?

@jgrosseo jgrosseo merged commit 6239fab into AliceO2Group:master Nov 15, 2021
alibuild added a commit to alibuild/O2Physics that referenced this pull request Mar 24, 2024
ercolessi pushed a commit that referenced this pull request Mar 24, 2024
* PWGLF: Add Nsigma-TOF at analysis time: first test

* Please consider the following formatting changes (#265)

* Modifications for further exploratory studies

* Fix problematic use of filters

* Please consider the following formatting changes (#266)

* Update cascademcfinder.cxx

---------

Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
christianreckziegel pushed a commit to christianreckziegel/O2Physics that referenced this pull request May 2, 2024
…Group#5327)

* PWGLF: Add Nsigma-TOF at analysis time: first test

* Please consider the following formatting changes (AliceO2Group#265)

* Modifications for further exploratory studies

* Fix problematic use of filters

* Please consider the following formatting changes (AliceO2Group#266)

* Update cascademcfinder.cxx

---------

Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request May 17, 2024
…Group#5327)

* PWGLF: Add Nsigma-TOF at analysis time: first test

* Please consider the following formatting changes (AliceO2Group#265)

* Modifications for further exploratory studies

* Fix problematic use of filters

* Please consider the following formatting changes (AliceO2Group#266)

* Update cascademcfinder.cxx

---------

Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants